package com.portal.innovation.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("file_list")
public class FileList {


    @TableId(type = IdType.AUTO)
    private Integer id;

    private String url;

    private Date createDate;

    public FileList(String url) {
        this.url = url;
        this.createDate = new Date();
    }
}
